package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityHouseModelItemsGoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityHouseModelItemsGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityHouseModelItemsGoodsExample example = new EstateProjectActivityHouseModelItemsGoodsExample();
        return example.createCriteria();
    }

    public EstateProjectActivityHouseModelItemsGoodsExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityHouseModelItemsGoodsExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId is null");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId is not null");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId =", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId <>", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId >", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId >=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId <", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId <=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ItemId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId not in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ItemId not between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId is null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId is not null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId =", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId <>", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId >", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId >=", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId <", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId <=", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId in", values, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId not in", values, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId between", value1, value2, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.ActivityGoodsId not between", value1, value2, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andStorageIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId is null");
            return (Criteria) this;
        }

        public Criteria andStorageIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId is not null");
            return (Criteria) this;
        }

        public Criteria andStorageIdEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId =", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId <>", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId >", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId >=", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId <", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId <=", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.StorageId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStorageIdLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId like", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId not like", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId in", values, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId not in", values, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId between", value1, value2, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.StorageId not between", value1, value2, "storageId");
            return (Criteria) this;
        }

        public Criteria andLabelIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` is null");
            return (Criteria) this;
        }

        public Criteria andLabelIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` is not null");
            return (Criteria) this;
        }

        public Criteria andLabelEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` =", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` <>", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` >", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` >=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` <", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` <=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`Label` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLabelLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` not like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` not in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`Label` not between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityHouseModelItemsGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitemsgoods.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitemsgoods.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityHouseModelItemsGoodsExample example;

        protected Criteria(EstateProjectActivityHouseModelItemsGoodsExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityHouseModelItemsGoodsExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityHouseModelItemsGoods.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityHouseModelItemsGoods.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityHouseModelItemsGoodsExample example);
    }
}